package com.sghy.xcxservice.service;

import com.sghy.xcxservice.dto.UserInfoVo;
import com.sghy.xcxservice.entity.BgbOrgUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author pc
* @description 针对表【bgb_org_user(机构子账号表)】的数据库操作Service
* @createDate 2025-05-29 18:10:16
*/
public interface BgbOrgUserService extends IService<BgbOrgUser> {

    BgbOrgUser getByUid(String uId);
    UserInfoVo getUserInfo(String uId);

    UserInfoVo getUserInfo();
    
    List<UserInfoVo> getAllUserList(int page, int size);
    
    List<UserInfoVo> getAllAdminList(int page, int size);
    
    List<UserInfoVo> searchUser(String like);
    
    void setAdmin(String uId);
    
    void cancelAdmin(String uId);
    
    void savaUserHeadIco(String uid, String headIco);
}
